package com.ruoyi.project.wx.dao;


import com.ruoyi.project.wx.domain.MemberCollectDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 用户收藏表
 * @author long
 * @email 499626561@qq.com
 * @date 2020-12-25 10:24:28
 */
@Mapper
public interface MemberCollectDao {

	MemberCollectDO get(String id);
	
	List<MemberCollectDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(MemberCollectDO memberCollect);
	
	int update(MemberCollectDO memberCollect);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<MemberCollectDO> likeList(Map<String,Object> map);
    
    int likeListCount(Map<String,Object> map);

    List<Map<String, Object>> getGoodsCollect(Map<String, Object> params);

	List<Map<String, Object>> getShopCollect(Map<String, Object> params);
}
